package com.ruoyi.logistic.enums;

/**
 * 结算类型
 *
 * @author ruoyi
 */
public enum NetworkClientGoDetailEnum
{
    date("date", "日期"),
    networkNameId("networkNameId", "网点名称"),
    clientId("clientId", "客户名称"),
    receiveSiteNameId("receiveSiteNameId","收件网点"),
    destProvinceName("destProvinceName","目的省份"),
    totalPercent("totalPercent","省份票数占比 (%)"),
    weightPercent("weightPercent","省份重量占比 (%)"),
    incomePercent("incomePercent","省份收入占比 (%)"),
    total("total","省份合计票数"),
    totalRealWeight("totalRealWeight","省份合计重量"),
    avgWeight("avgWeight","省份合计均重"),
    income("income","省份合计收入"),
    kgZeroTotal("kgZeroTotal","0KG总票数"),
    kgZeroIncome("kgZeroIncome","0KG总收入"),
    kgZeroToThreeTenthTotal("kgZeroToThreeTenthTotal","0-0.3KG总票数"),
    kgZeroToThreeTenthWeight("kgZeroToThreeTenthWeight","0-0.3KG重量"),
    kgZeroToThreeTenthAvgWeight("kgZeroToThreeTenthAvgWeight","0-0.3KG均重"),
    kgZeroToThreeTenthIncome("kgZeroToThreeTenthIncome","0-0.3KG收入"),
    kgThreeTenthToFiveTenthTotal("kgThreeTenthToFiveTenthTotal","0.3-0.5KG总票数"),
    kgThreeTenthToFiveTenthWeight("kgThreeTenthToFiveTenthWeight","0.3-0.5KG重量"),
    kgThreeTenthToFiveTenthAvgWeight("kgThreeTenthToFiveTenthAvgWeight","0.3-0.5KG均重"),
    kgThreeTenthToFiveTenthIncome("kgThreeTenthToFiveTenthIncome","0.3-0.5KG收入"),
    kgFiveTenthToOneTotal("kgFiveTenthToOneTotal","0.5-1KG总票数"),
    kgFiveTenthToOneWeight("kgFiveTenthToOneWeight","0.5-1KG重量"),
    kgFiveTenthToOneAvgWeight("kgFiveTenthToOneAvgWeight","0.5-1KG均重"),
    kgFiveTenthToOneIncome("kgFiveTenthToOneIncome","0.5-1KG收入"),
    kgOneToOneDotFiveTotal("kgOneToOneDotFiveTotal","1-1.5KG总票数"),
    kgOneToOneDotFiveWeight("kgOneToOneDotFiveWeight","1-1.5KG重量"),
    kgOneToOneDotFiveAvgWeight("kgOneToOneDotFiveAvgWeight","1-1.5KG均重"),
    kgOneToOneDotFiveIncome("kgOneToOneDotFiveIncome","1-1.5KG收入"),
    kgOneDotFiveToTwoTotal("kgOneDotFiveToTwoTotal","1.5-2KG总票数"),
    kgOneDotFiveToTwoWeight("kgOneDotFiveToTwoWeight","1.5-2KG重量"),
    kgOneDotFiveToTwoAvgWeight("kgOneDotFiveToTwoAvgWeight","1.5-2KG均重"),
    kgOneDotFiveToTwoIncome("kgOneDotFiveToTwoIncome","1.5-2KG收入"),
    kgTwoToTwoDotFiveTotal("kgTwoToTwoDotFiveTotal","2-2.5KG总票数"),
    kgTwoToTwoDotFiveWeight("kgTwoToTwoDotFiveWeight","2-2.5KG重量"),
    kgTwoToTwoDotFiveAvgWeight("kgTwoToTwoDotFiveAvgWeight","2-2.5KG均重"),
    kgTwoToTwoDotFiveIncome("kgTwoToTwoDotFiveIncome","2-2.5KG收入"),
    kgTwoDotFiveToThreeTotal("kgTwoDotFiveToThreeTotal","2.5-3KG总票数"),
    kgTwoDotFiveToThreeWeight("kgTwoDotFiveToThreeWeight","2.5-3KG重量"),
    kgTwoDotFiveToThreeAvgWeight("kgTwoDotFiveToThreeAvgWeight","2.5-3KG均重"),
    kgTwoDotFiveToThreeIncome("kgTwoDotFiveToThreeIncome","2.5-3KG收入"),
    kgThreeToFiveTotal("kgThreeToFiveTotal","3-5KG总票数"),
    kgThreeToFiveWeight("kgThreeToFiveWeight","3-5KG重量"),
    kgThreeToFiveAvgWeight("kgThreeToFiveAvgWeight","3-5KG均重"),
    kgThreeToFiveIncome("kgThreeToFiveIncome","3-5KG收入"),
    kgFiveToTenTotal("kgFiveToTenTotal","5-10KG总票数"),
    kgFiveToTenWeight("kgFiveToTenWeight","5-10KG重量"),
    kgFiveToTenAvgWeight("kgFiveToTenAvgWeight","5-10KG均重"),
    kgFiveToTenIncome("kgFiveToTenIncome","5-10KG收入"),
    kgTenToThirtyTotal("kgTenToThirtyTotal","10-30KG总票数"),
    kgTenToThirtyWeight("kgTenToThirtyWeight","10-30KG重量"),
    kgTenToThirtyAvgWeight("kgTenToThirtyAvgWeight","10-30KG均重"),
    kgTenToThirtyIncome("kgTenToThirtyIncome","10-30KG收入"),
    kgThirtyToFiftyTotal("kgThirtyToFiftyTotal","30-50KG总票数"),
    kgThirtyToFiftyWeight("kgThirtyToFiftyWeight","30-50KG重量"),
    kgThirtyToFiftyAvgWeight("kgThirtyToFiftyAvgWeight","30-50KG均重"),
    kgThirtyToFiftyIncome("kgThirtyToFiftyIncome","30-50KG收入"),
    kgOverFiftyTotal("kgOverFiftyTotal","50KG以上总票数"),
    kgOverFiftyWeight("kgOverFiftyWeight","50KG以上重量"),
    kgOverFiftyAvgWeight("kgOverFiftyAvgWeight","50KG以上均重"),
    kgOverFiftyIncome("kgOverFiftyIncome","50KG以上收入"),
    createTime("createTime","创建时间"),
    updateTime("updateTime","修改时间");

    private final String code;
    private final String info;

    NetworkClientGoDetailEnum(String code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }

    public static String getValue(String code) {
        if (code == null) {
            return "";
        }
        for (NetworkClientGoDetailEnum value : NetworkClientGoDetailEnum.values()) {
            if (value.code.equals(code)){
                return value.info;
            }
        }
        return "";
    }
}
